document.querySelector(".note-readers").outerHTML = '<%= j(render("readers", note: @note, readers: @readers, state: "open")) %>';